using System;
using ns27;

namespace Triton.Game.Mapping
{
	[Attribute38("FriendListRequestFrame")]
	public class FriendListRequestFrame : MonoBehaviour
	{
		public GameObject m_Background => method_3<GameObject>("m_Background");

		public FriendListUIElement m_AcceptButton => method_3<FriendListUIElement>("m_AcceptButton");

		public FriendListUIElement m_DeclineButton => method_3<FriendListUIElement>("m_DeclineButton");

		public UberText m_PlayerNameText => method_3<UberText>("m_PlayerNameText");

		public UberText m_TimeText => method_3<UberText>("m_TimeText");

		public BnetInvitation m_invite => method_3<BnetInvitation>("m_invite");

		public FriendListRequestFrame(IntPtr address, string className)
			: base(address, className)
		{
		}

		public FriendListRequestFrame(IntPtr address)
			: this(address, "FriendListRequestFrame")
		{
		}

		public void Awake()
		{
			method_8("Awake");
		}

		public void Update()
		{
			method_8("Update");
		}

		public void OnEnable()
		{
			method_8("OnEnable");
		}

		public BnetInvitation GetInvite()
		{
			return method_14<BnetInvitation>("GetInvite", Array.Empty<object>());
		}

		public void SetInvite(BnetInvitation invite)
		{
			method_8("SetInvite", invite);
		}

		public void UpdateInvite()
		{
			method_8("UpdateInvite");
		}

		public void UpdateTimeText()
		{
			method_8("UpdateTimeText");
		}

		public void OnAcceptButtonPressed(UIEvent e)
		{
			method_8("OnAcceptButtonPressed", e);
		}

		public void OnDeclineButtonPressed(UIEvent e)
		{
			method_8("OnDeclineButtonPressed", e);
		}
	}
}
